import request from '@/utils/request'

export default {

// 删除
  delete(id) {
    return request({
      url: `/servicearticle/delete/${id}/`,
      method: 'delete'
    })
  },
// 分页查询
  getPage(size, page) {
    return request({
      url: `/servicearticle/pageQuery/${size}/${page}`,
      method: 'get'
    })
  },
  getinfo(id) {
    return request({

      url: `/servicearticle/getInfo/${id}`,
      method: 'get'
    })
  },
  save(aticle) {

    return request({

      url: `/servicearticle/save`,

      method: 'post',

      data: aticle

    })

  }

}
